package com.openbravo.data.loader;

import java.sql.Connection;
import java.sql.SQLException;

import com.openbravo.data.loader.dialect.SessionDB;

public interface I_Session {

	public  void connect() throws SQLException;

	public  void close();

	public  Connection getConnection() throws SQLException;

	public  void begin() throws SQLException;

	public  void commit() throws SQLException;

	public  void rollback() throws SQLException;

	public  boolean isTransaction();

	public  String getURL() throws SQLException;
	
	public SessionDB getDB();

}